class PushModel {
  num? raw;
  num? total;
  List<Rows>? rows;
  num? code;
  String? msg;

  PushModel({this.raw, this.total, this.rows, this.code, this.msg});

  PushModel.fromJson(Map<String, dynamic> json) {
    raw = json['raw'];
    total = json['total'];
    if (json['rows'] != null) {
      rows = <Rows>[];
      json['rows'].forEach((v) {
        rows!.add(new Rows.fromJson(v));
      });
    }
    code = json['code'];
    msg = json['msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['raw'] = this.raw;
    data['total'] = this.total;
    if (this.rows != null) {
      data['rows'] = this.rows!.map((v) => v.toJson()).toList();
    }
    data['code'] = this.code;
    data['msg'] = this.msg;
    return data;
  }
}

class Rows {
  Null? searchValue;
  String? createBy;
  String? createTime;
  String? updateBy;
  String? updateTime;
  String? remark;
  Params? params;
  num? informId;
  num? membersId;
  String? membersNo;
  String? membersName;
  String? informComment;
  String? readFlag;
  String? noticeFlag;
  String? informType;
  String? informSource;
  num? projectId;
  String? projectNo;
  String? projectName;
  num? serviceId;
  String? serviceName;
  String? projectState;
  String? kind;
  String? delFlag;
  num? version;

  Rows(
      {this.searchValue,
      this.createBy,
      this.createTime,
      this.updateBy,
      this.updateTime,
      this.remark,
      this.params,
      this.informId,
      this.membersId,
      this.membersNo,
      this.membersName,
      this.informComment,
      this.readFlag,
      this.noticeFlag,
      this.informType,
      this.informSource,
      this.projectId,
      this.projectNo,
      this.projectName,
      this.serviceId,
      this.serviceName,
      this.projectState,
      this.kind,
      this.delFlag,
      this.version});

  Rows.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params =
        json['params'] != null ? new Params.fromJson(json['params']) : null;
    informId = json['informId'];
    membersId = json['membersId'];
    membersNo = json['membersNo'];
    membersName = json['membersName'];
    informComment = json['informComment'];
    readFlag = json['readFlag'];
    noticeFlag = json['noticeFlag'];
    informType = json['informType'];
    informSource = json['informSource'];
    projectId = json['projectId'];
    projectNo = json['projectNo'];
    projectName = json['projectName'];
    serviceId = json['serviceId'];
    serviceName = json['serviceName'];
    projectState = json['projectState'];
    kind = json['kind'];
    delFlag = json['delFlag'];
    version = json['version'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createBy'] = this.createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    if (this.params != null) {
      data['params'] = this.params!.toJson();
    }
    data['informId'] = this.informId;
    data['membersId'] = this.membersId;
    data['membersNo'] = this.membersNo;
    data['membersName'] = this.membersName;
    data['informComment'] = this.informComment;
    data['readFlag'] = this.readFlag;
    data['noticeFlag'] = this.noticeFlag;
    data['informType'] = this.informType;
    data['informSource'] = this.informSource;
    data['projectId'] = this.projectId;
    data['projectNo'] = this.projectNo;
    data['projectName'] = this.projectName;
    data['serviceId'] = this.serviceId;
    data['serviceName'] = this.serviceName;
    data['projectState'] = this.projectState;
    data['kind'] = this.kind;
    data['delFlag'] = this.delFlag;
    data['version'] = this.version;
    return data;
  }
}

class Params {
  Params();

  Params.fromJson(Map<String, dynamic> json) {}

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    return data;
  }
}
